package com.flow.asyncflow.core.enums;

public enum PageNumberEnum {
    One(1, "第一页"),
    Two(2, "第二页"),
    Three(3, "第三页"),
    Four(4, "第四页"),
    Five(5, "第五页"),
    Six(6, "第六页"),
    Seven(7, "第七页"),
    Eight(8, "第八页"),
    ;

    private int code;
    private String msg;

    PageNumberEnum(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }


    public String getMsg() {
        return this.msg;
    }


    public int getCode() {
        return this.code;
    }

    public String getName() {
        return this.name();
    }
}
